﻿using System;
using System.Collections.Generic;

using System.Text;
using QUANLYCHAMCONG.DAO.DAO;
using QUANLYCHAMCONG.BL.Entities;
using System.Data;

namespace QUANLYCHAMCONG.BL.BUS
{
    public class LICHLAMVIECBUS
    {
        public LICHLAMVIECBUS() { }
        public static bool Insert(LICHLAMVIEC ls)
        {
            LICHLAMVIECDAO dao = new LICHLAMVIECDAO();
            return dao.Insert(ls);
        }
        public static bool Delete(LICHLAMVIEC ls)
        {
            LICHLAMVIECDAO dao = new LICHLAMVIECDAO();
            return dao.Delete(ls);
        }
        public static DataTable SelectAll()
        {
            LICHLAMVIECDAO dao = new LICHLAMVIECDAO();
            return dao.SelectALL();
        }
        public static DataTable SelectPK(LICHLAMVIEC ls)
        {
            LICHLAMVIECDAO dao = new LICHLAMVIECDAO();
            return dao.SelectByPK(ls);
        }
    }
}
